package com.woniu.car.feign;

import com.woniu.car.util.ResponseEntity;
import com.woniu.car.param.ShopParam;
import org.springframework.cloud.openfeign.FeignClient;

import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(name = "account-service")
public interface AccountFeign {
    @PostMapping("/account/FeignController/queryRolePermission")
    public ResponseEntity queryRolePermission(@RequestBody ShopParam param)throws Exception;
}
